<?php

namespace App\Utility\Auth\Wx;

use EasySwoole\Core\Component\Spl\SplBean;

class AccessTokenBean extends SplBean {
	protected $access_token;
	protected $expires_in;
	protected $refresh_token;
	protected $openid;
	protected $scope;
	protected function initialize(): void {
		// 默认md5是32 位，当从数据库中读出数据恢复为bean的时候，不对密码做md5
	}
	/**
	 *
	 * @return the $access_token
	 */
	public function getAccess_token() {
		return $this->access_token;
	}
	
	/**
	 *
	 * @return the $expires_in
	 */
	public function getExpires_in() {
		return $this->expires_in;
	}
	
	/**
	 *
	 * @return the $refresh_token
	 */
	public function getRefresh_token() {
		return $this->refresh_token;
	}
	
	/**
	 *
	 * @return the $openid
	 */
	public function getOpenid() {
		return $this->openid;
	}
	
	/**
	 *
	 * @return the $scope
	 */
	public function getScope() {
		return $this->scope;
	}
	
	/**
	 *
	 * @param field_type $access_token        	
	 */
	public function setAccess_token($access_token) {
		$this->access_token = $access_token;
	}
	
	/**
	 *
	 * @param field_type $expires_in        	
	 */
	public function setExpires_in($expires_in) {
		$this->expires_in = $expires_in;
	}
	
	/**
	 *
	 * @param field_type $refresh_token        	
	 */
	public function setRefresh_token($refresh_token) {
		$this->refresh_token = $refresh_token;
	}
	
	/**
	 *
	 * @param field_type $openid        	
	 */
	public function setOpenid($openid) {
		$this->openid = $openid;
	}
	
	/**
	 *
	 * @param field_type $scope        	
	 */
	public function setScope($scope) {
		$this->scope = $scope;
	}
}